package com.market.utils;

/**
 * @ClassName: Constent
 * @description: 常量类
 * @author: March
 * @version: 1.0
 * @datetime: 2022/12/30 22:17
 */
public class Constent {


    //时间格式
    public static final String TIME_PATTERN = "yyyy-MM-dd HH:mm:ss";

    //订单状态
    //未付款 Unpaid
    public static final Short UNPAID = 101;

    //用户取消 User Cancel
    public static final Short USER_CANCEL = 102;

    //系统取消 System Cancel
    public static final Short SYSTEM_CANCEL = 103;

    //已付款 Paid
    public static final Short PAID = 201;

    //申请退款 Apply for refund
    public static final Short APPLY_FOR_REFUND = 202;

    //已退款 Refunded
    public static final Short REFUNDED = 203;

    //已发货 Shipped
    public static final Short SHIPPED = 301;

    //用户收货 User receipt
    public static final Short USER_RECEIPT= 401;

    //系统收货 System receipt
    public static final Short SYSTEM_RECEIPT= 402;


    //逻辑删除状态码
    //默认为0
    public static final Short DELETE_DEFAULT_STATE = 0;

    //逻辑删除后为1
    public static final Short DELETED_STATE = 1;

    //售后状态 aftersale_status;0是可申请，1是用户已申请，2是管理员审核通过，3是管理员退款成功，4是管理员审核拒绝，5是用户已取消

    /*1是用户已申请*/
    public static final Short AFTERSALE_STATUS_1 = 1;
    public static final Short AFTERSALE_STATUS_2 = 2;
    public static final Short AFTERSALE_STATUS_3 = 3;
    public static final Short AFTERSALE_STATUS_4 = 4;
    public static final Short AFTERSALE_STATUS_5 = 5;
}
